package com.example.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author wlg
 * @create_time 2021-08-24 上午 10:35
 * @function
 */
@SpringBootApplication
@EnableDiscoveryClient   //nacos注册
@EnableFeignClients //调用端（调用别的微服务）
@ComponentScan("com.example")
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);

    }
}
